Affiliate marketing is a type of performance-based advertising where companies or merchants pay affiliates, which are typically websites or individuals, to promote their products and services. The compensation for the affiliate can be based on a variety of metrics such as clicks, leads, sales, or conversions. Affiliate marketing is often used by businesses to increase their online presence and reach new customers through partner sites that have an established audience in a specific niche.